dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7baa211
)
template purge file cache blah blah blah
author
River Tarnell
<kateturner@users.mediawiki.org>
Sun, 17 Jul 2005 20:15:36 +0000
(20:15 +0000)
committer
River Tarnell
<kateturner@users.mediawiki.org>
Sun, 17 Jul 2005 20:15:36 +0000
(20:15 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
ce8847b
..
0eadae6
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-480,6
+480,8
@@
class Title {
* @access public
*/
function touchArray( $titles, $timestamp = '' ) {
+ global $wgUseFileCache;
+
if ( count( $titles ) == 0 ) {
return;
}
@@
-492,6
+494,11
@@
class Title {
$first = true;
foreach ( $titles as $title ) {
+ if ( $wgUseFileCache ) {
+ $cm = new CacheManager($title);
+ @unlink($cm->fileCacheName());
+ }
+
if ( ! $first ) {
$sql .= ',';
}